home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 November / Chip Kasım 2000.iso / prog / basic / 09 / AXA2.CAB / DAJAVA.CAB / com / ms / dxmedia / CameraBvr.class (.txt) < prev    next >
Encoding:
Java Class File  |  1997-10-14  |  1.9 KB  |  78 lines

  1. package com.ms.dxmedia;
  2.  
  3. import com.ms.com.ComFailException;
  4. import com.ms.dxmedia.rawcom.DACamera;
  5. import com.ms.dxmedia.rawcom.IDABehavior;
  6. import com.ms.dxmedia.rawcom.IDACamera;
  7.  
  8. public class CameraBvr extends Behavior {
  9.    private IDACamera _COMptr;
  10.  
  11.    public CameraBvr depthResolution(double var1) {
  12.       try {
  13.          return new CameraBvr(this.getCOMPtr().DepthResolution(var1));
  14.       } catch (ComFailException var5) {
  15.          throw StaticsBase.handleError(var5);
  16.       }
  17.    }
  18.  
  19.    public CameraBvr depthResolution(NumberBvr var1) {
  20.       try {
  21.          return new CameraBvr(this.getCOMPtr().DepthResolutionAnim(var1.getCOMPtr()));
  22.       } catch (ComFailException var4) {
  23.          throw StaticsBase.handleError(var4);
  24.       }
  25.    }
  26.  
  27.    public void setCOMBvr(IDABehavior var1) {
  28.       super.setCOMBvr(var1);
  29.       this._COMptr = (IDACamera)var1;
  30.    }
  31.  
  32.    public CameraBvr(IDACamera var1) {
  33.       super(var1);
  34.       this._COMptr = var1;
  35.    }
  36.  
  37.    public CameraBvr() {
  38.       super((IDABehavior)null);
  39.       this._COMptr = null;
  40.    }
  41.  
  42.    public static CameraBvr newUninitBvr() {
  43.       return new CameraBvr(new DACamera());
  44.    }
  45.  
  46.    protected Behavior newUninitBehavior() {
  47.       return newUninitBvr();
  48.    }
  49.  
  50.    public IDACamera getCOMPtr() {
  51.       return this._COMptr;
  52.    }
  53.  
  54.    public CameraBvr transform(Transform3Bvr var1) {
  55.       try {
  56.          return new CameraBvr(this.getCOMPtr().Transform(var1.getCOMPtr()));
  57.       } catch (ComFailException var4) {
  58.          throw StaticsBase.handleError(var4);
  59.       }
  60.    }
  61.  
  62.    public CameraBvr depth(double var1) {
  63.       try {
  64.          return new CameraBvr(this.getCOMPtr().Depth(var1));
  65.       } catch (ComFailException var5) {
  66.          throw StaticsBase.handleError(var5);
  67.       }
  68.    }
  69.  
  70.    public CameraBvr depth(NumberBvr var1) {
  71.       try {
  72.          return new CameraBvr(this.getCOMPtr().DepthAnim(var1.getCOMPtr()));
  73.       } catch (ComFailException var4) {
  74.          throw StaticsBase.handleError(var4);
  75.       }
  76.    }
  77. }
  78.